﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.kmer.Hook {
	public enum HookTypes : int {
		NOT_THING = 0,
		/// <summary>
		/// 用户登录之前
		/// </summary>
		BEFORE_USER_LOGIN = 0x10000,
		/// <summary>
		/// 用户登录之后
		/// </summary>
		AFTER_USER_LOGIN,
		/// <summary>
		/// 用户注销之前
		/// </summary>
		BEFORE_USER_LOGOUT,
		/// <summary>
		/// 用户注销之后
		/// </summary>
		AFTER_USER_LOGOUT,
		/// <summary>
		/// 新用户注册成功之后
		/// 一个参数 wahRegCs User
		/// </summary>
		AFTER_USER_REGISTER,
        /// <summary>
        /// 用户升级
        /// 参数说明：昵称, 金额, 说明
        /// </summary>
        AFTER_USER_UPGRADE,
		/// <summary>
		/// 订单支付之后
		/// 参数列表：CusID，OrderNo（订单号）
		/// </summary>
		AFTER_ORDER_PAYED = 0x20000,
		/// <summary>
		/// 订单创建以后
		/// </summary>
		AFTER_ORDER_CREATED,
		/// <summary>
		/// 订单状态改变
		/// </summary>
		ORDER_STATE_CHANGED,
		/// <summary>
		/// 关闭订单
		/// </summary>
		ORDER_CLOSED,
		/// <summary>
		/// 取消订单
		/// </summary>
		ORDER_CANCEL,
		/// <summary>
		/// 物流信息变更
		/// </summary>
		TRAC_TRAFFIC_CHANGED,
		/// <summary>
		/// 订单发货
		/// </summary>
		AFTER_DELIVER_GOODS,
		/// <summary>
		/// 购买VIP卡支付成功
		/// </summary>
		AFTER_VIP_CARD_ORDER_PAYED,
		/// <summary>
		/// 提现申请提交以后
		/// </summary>
		AFTER_WITHDRAW = 0x30000,
		/// <summary>
		/// 
		/// </summary>
		AfterSingupActivityHook=0x40000,
        /// <summary>
        /// 预约房车提醒
        /// </summary>
        CAR_SUCCESS_REMINDER,
		/// <summary>
		/// 手动订单支付提醒
		/// 参数：OrderNo
		/// </summary>
		ORDER_CREATE_AFTER,

		/// <summary>
		/// 发送聊天信息（点对点） 0x50000
		/// 参数说明：
		///		int MsgId
		///		ApiConfig apiAppid	
		/// </summary>
		CHAT_SEND_MSG = 0x50000,

		/// <summary>
		/// 删除图片 0xE00000
		/// 参数说明：
		///		IList&lt;Guid&gt; imageIds
		/// </summary>
		REMOVE_IMAGES = 0xE00000,
	}
}
